from common.base import Base, By


class IndexPage(Base):
    def fout_text(self, locator):
        return self.find_element(locator).text
